<!--
 * @Author: zsc
 * @Date: 2022-06-21 23:13:42
 * @LastEditors: zsc
 * @LastEditTime: 2022-07-16 19:13:45
 * @Description:辖区选择
-->
<template>
  <el-select
    :value="value"
    placeholder="请选择楼宇状态"
    filterable
    clearable
    @input="$emit('input', $event)"
  >
    <el-option
      v-for="item in stateOptions"
      :key="item.id"
      :label="item.name"
      :value="item.id"
    />
  </el-select>
</template>

<script>
export default {
  props: {
    value: {
      type: [String, Number],
      default: ''
    }
  },
  data() {
    return {
      listQuery: {

      },
      stateOptions: [{ id: 1, name: '已建' },
        { id: 2, name: '在建' },
        { id: 3, name: '待建' }]
    }
  },
  computed: {},
  created() {
    this.getList()
  },
  methods: {

  }
}
</script>
